3.2.19 \(\int \frac {(a+b x)^5 (A+B x)}{x^9} \, dx\)

Optimal. Leaf size=70 \[ -\frac {b (a+b x)^6 (A b-4 a B)}{168 a^3 x^6}+\frac {(a+b x)^6 (A b-4 a B)}{28 a^2 x^7}-\frac {A (a+b x)^6}{8 a x^8} \]

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {78, 45, 37} \begin {gather*} -\frac {b (a+b x)^6 (A b-4 a B)}{168 a^3 x^6}+\frac {(a+b x)^6 (A b-4 a B)}{28 a^2 x^7}-\frac {A (a+b x)^6}{8 a x^8} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((a + b*x)^5*(A + B*x))/x^9,x]

[Out]

-(A*(a + b*x)^6)/(8*a*x^8) + ((A*b - 4*a*B)*(a + b*x)^6)/(28*a^2*x^7) - (b*(A*b - 4*a*B)*(a + b*x)^6)/(168*a^3
*x^6)

Rule 37

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n +
1))/((b*c - a*d)*(m + 1)), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n + 2, 0] && NeQ
[m, -1]

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n + 1
))/((b*c - a*d)*(m + 1)), x] - Dist[(d*Simplify[m + n + 2])/((b*c - a*d)*(m + 1)), Int[(a + b*x)^Simplify[m +
1]*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && ILtQ[Simplify[m + n + 2], 0] &&
 NeQ[m, -1] &&  !(LtQ[m, -1] && LtQ[n, -1] && (EqQ[a, 0] || (NeQ[c, 0] && LtQ[m - n, 0] && IntegerQ[n]))) && (
SumSimplerQ[m, 1] ||  !SumSimplerQ[n, 1])

Rule 78

Int[((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> -Simp[((b*e - a*f
)*(c + d*x)^(n + 1)*(e + f*x)^(p + 1))/(f*(p + 1)*(c*f - d*e)), x] - Dist[(a*d*f*(n + p + 2) - b*(d*e*(n + 1)
+ c*f*(p + 1)))/(f*(p + 1)*(c*f - d*e)), Int[(c + d*x)^n*(e + f*x)^(p + 1), x], x] /; FreeQ[{a, b, c, d, e, f,
 n}, x] && LtQ[p, -1] && ( !LtQ[n, -1] || IntegerQ[p] ||  !(IntegerQ[n] ||  !(EqQ[e, 0] ||  !(EqQ[c, 0] || LtQ
[p, n]))))

Rubi steps

\begin {align*} \int \frac {(a+b x)^5 (A+B x)}{x^9} \, dx &=-\frac {A (a+b x)^6}{8 a x^8}+\frac {(-2 A b+8 a B) \int \frac {(a+b x)^5}{x^8} \, dx}{8 a}\\ &=-\frac {A (a+b x)^6}{8 a x^8}+\frac {(A b-4 a B) (a+b x)^6}{28 a^2 x^7}+\frac {(b (A b-4 a B)) \int \frac {(a+b x)^5}{x^7} \, dx}{28 a^2}\\ &=-\frac {A (a+b x)^6}{8 a x^8}+\frac {(A b-4 a B) (a+b x)^6}{28 a^2 x^7}-\frac {b (A b-4 a B) (a+b x)^6}{168 a^3 x^6}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.03, size = 107, normalized size = 1.53 \begin {gather*} -\frac {3 a^5 (7 A+8 B x)+20 a^4 b x (6 A+7 B x)+56 a^3 b^2 x^2 (5 A+6 B x)+84 a^2 b^3 x^3 (4 A+5 B x)+70 a b^4 x^4 (3 A+4 B x)+28 b^5 x^5 (2 A+3 B x)}{168 x^8} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((a + b*x)^5*(A + B*x))/x^9,x]

[Out]

-1/168*(28*b^5*x^5*(2*A + 3*B*x) + 70*a*b^4*x^4*(3*A + 4*B*x) + 84*a^2*b^3*x^3*(4*A + 5*B*x) + 56*a^3*b^2*x^2*
(5*A + 6*B*x) + 20*a^4*b*x*(6*A + 7*B*x) + 3*a^5*(7*A + 8*B*x))/x^8

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(a+b x)^5 (A+B x)}{x^9} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[((a + b*x)^5*(A + B*x))/x^9,x]

[Out]

IntegrateAlgebraic[((a + b*x)^5*(A + B*x))/x^9, x]

________________________________________________________________________________________

fricas [A]  time = 1.13, size = 119, normalized size = 1.70 \begin {gather*} -\frac {84 \, B b^{5} x^{6} + 21 \, A a^{5} + 56 \, {\left (5 \, B a b^{4} + A b^{5}\right )} x^{5} + 210 \, {\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} x^{4} + 336 \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} x^{3} + 140 \, {\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} x^{2} + 24 \, {\left (B a^{5} + 5 \, A a^{4} b\right )} x}{168 \, x^{8}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^5*(B*x+A)/x^9,x, algorithm="fricas")

[Out]

-1/168*(84*B*b^5*x^6 + 21*A*a^5 + 56*(5*B*a*b^4 + A*b^5)*x^5 + 210*(2*B*a^2*b^3 + A*a*b^4)*x^4 + 336*(B*a^3*b^
2 + A*a^2*b^3)*x^3 + 140*(B*a^4*b + 2*A*a^3*b^2)*x^2 + 24*(B*a^5 + 5*A*a^4*b)*x)/x^8

________________________________________________________________________________________

giac [A]  time = 1.31, size = 123, normalized size = 1.76 \begin {gather*} -\frac {84 \, B b^{5} x^{6} + 280 \, B a b^{4} x^{5} + 56 \, A b^{5} x^{5} + 420 \, B a^{2} b^{3} x^{4} + 210 \, A a b^{4} x^{4} + 336 \, B a^{3} b^{2} x^{3} + 336 \, A a^{2} b^{3} x^{3} + 140 \, B a^{4} b x^{2} + 280 \, A a^{3} b^{2} x^{2} + 24 \, B a^{5} x + 120 \, A a^{4} b x + 21 \, A a^{5}}{168 \, x^{8}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^5*(B*x+A)/x^9,x, algorithm="giac")

[Out]

-1/168*(84*B*b^5*x^6 + 280*B*a*b^4*x^5 + 56*A*b^5*x^5 + 420*B*a^2*b^3*x^4 + 210*A*a*b^4*x^4 + 336*B*a^3*b^2*x^
3 + 336*A*a^2*b^3*x^3 + 140*B*a^4*b*x^2 + 280*A*a^3*b^2*x^2 + 24*B*a^5*x + 120*A*a^4*b*x + 21*A*a^5)/x^8

________________________________________________________________________________________

maple [A]  time = 0.00, size = 104, normalized size = 1.49 \begin {gather*} -\frac {B \,b^{5}}{2 x^{2}}-\frac {\left (A b +5 B a \right ) b^{4}}{3 x^{3}}-\frac {5 \left (A b +2 B a \right ) a \,b^{3}}{4 x^{4}}-\frac {2 \left (A b +B a \right ) a^{2} b^{2}}{x^{5}}-\frac {A \,a^{5}}{8 x^{8}}-\frac {5 \left (2 A b +B a \right ) a^{3} b}{6 x^{6}}-\frac {\left (5 A b +B a \right ) a^{4}}{7 x^{7}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)^5*(B*x+A)/x^9,x)

[Out]

-5/6*a^3*b*(2*A*b+B*a)/x^6-2*a^2*b^2*(A*b+B*a)/x^5-1/2*B*b^5/x^2-1/8*A*a^5/x^8-1/7*a^4*(5*A*b+B*a)/x^7-1/3*b^4
*(A*b+5*B*a)/x^3-5/4*a*b^3*(A*b+2*B*a)/x^4

________________________________________________________________________________________

maxima [A]  time = 1.04, size = 119, normalized size = 1.70 \begin {gather*} -\frac {84 \, B b^{5} x^{6} + 21 \, A a^{5} + 56 \, {\left (5 \, B a b^{4} + A b^{5}\right )} x^{5} + 210 \, {\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} x^{4} + 336 \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} x^{3} + 140 \, {\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} x^{2} + 24 \, {\left (B a^{5} + 5 \, A a^{4} b\right )} x}{168 \, x^{8}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^5*(B*x+A)/x^9,x, algorithm="maxima")

[Out]

-1/168*(84*B*b^5*x^6 + 21*A*a^5 + 56*(5*B*a*b^4 + A*b^5)*x^5 + 210*(2*B*a^2*b^3 + A*a*b^4)*x^4 + 336*(B*a^3*b^
2 + A*a^2*b^3)*x^3 + 140*(B*a^4*b + 2*A*a^3*b^2)*x^2 + 24*(B*a^5 + 5*A*a^4*b)*x)/x^8

________________________________________________________________________________________

mupad [B]  time = 0.07, size = 120, normalized size = 1.71 \begin {gather*} -\frac {x\,\left (\frac {B\,a^5}{7}+\frac {5\,A\,b\,a^4}{7}\right )+\frac {A\,a^5}{8}+x^4\,\left (\frac {5\,B\,a^2\,b^3}{2}+\frac {5\,A\,a\,b^4}{4}\right )+x^2\,\left (\frac {5\,B\,a^4\,b}{6}+\frac {5\,A\,a^3\,b^2}{3}\right )+x^5\,\left (\frac {A\,b^5}{3}+\frac {5\,B\,a\,b^4}{3}\right )+x^3\,\left (2\,B\,a^3\,b^2+2\,A\,a^2\,b^3\right )+\frac {B\,b^5\,x^6}{2}}{x^8} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((A + B*x)*(a + b*x)^5)/x^9,x)

[Out]

-(x*((B*a^5)/7 + (5*A*a^4*b)/7) + (A*a^5)/8 + x^4*((5*B*a^2*b^3)/2 + (5*A*a*b^4)/4) + x^2*((5*A*a^3*b^2)/3 + (
5*B*a^4*b)/6) + x^5*((A*b^5)/3 + (5*B*a*b^4)/3) + x^3*(2*A*a^2*b^3 + 2*B*a^3*b^2) + (B*b^5*x^6)/2)/x^8

________________________________________________________________________________________

sympy [B]  time = 5.57, size = 133, normalized size = 1.90 \begin {gather*} \frac {- 21 A a^{5} - 84 B b^{5} x^{6} + x^{5} \left (- 56 A b^{5} - 280 B a b^{4}\right ) + x^{4} \left (- 210 A a b^{4} - 420 B a^{2} b^{3}\right ) + x^{3} \left (- 336 A a^{2} b^{3} - 336 B a^{3} b^{2}\right ) + x^{2} \left (- 280 A a^{3} b^{2} - 140 B a^{4} b\right ) + x \left (- 120 A a^{4} b - 24 B a^{5}\right )}{168 x^{8}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)**5*(B*x+A)/x**9,x)

[Out]

(-21*A*a**5 - 84*B*b**5*x**6 + x**5*(-56*A*b**5 - 280*B*a*b**4) + x**4*(-210*A*a*b**4 - 420*B*a**2*b**3) + x**
3*(-336*A*a**2*b**3 - 336*B*a**3*b**2) + x**2*(-280*A*a**3*b**2 - 140*B*a**4*b) + x*(-120*A*a**4*b - 24*B*a**5
))/(168*x**8)

________________________________________________________________________________________